<template>
  <el-button type="primary">Primary</el-button>
  <el-button type="success" :icon="Star" @click="star">star</el-button>
  <el-button>red</el-button>
</template>
<script setup lang="ts">
  import {Star} from '@element-plus/icons-vue'
  const star=()=>{
    console.log('kira')
  }
</script>